Skip to content

Brussels | ITP-2026-1 | James Ishimwe | Sprint 3 | Coursework/sprint 3#81

Open
jamesishimwe wants to merge 61 commits intoHackYourFutureBelgium:mainfrom
jamesishimwe:sprint-3
Open

Brussels | ITP-2026-1 | James Ishimwe | Sprint 3 | Coursework/sprint 3#81
jamesishimwe wants to merge 61 commits intoHackYourFutureBelgium:mainfrom
jamesishimwe:sprint-3

Conversation

@jamesishimwe
Copy link
Copy Markdown

@jamesishimwe jamesishimwe commented Apr 28, 2026

Brussels | ITP-2026-1 | James Ishimwe | Sprint 3 | Coursework/sprint 3

Complete the self checklist - replace each empty box in the checklist [ ] with a [x].

Add the label "Needs Review" and you will get review.

Respond to volunteer reviews until the volunteer marks it as "Complete".

-->

Learners, PR Template
Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide
    Changelist
    Briefly explain your PR.
    I have implemented functions and wrote tests to check different scenarios.

@jamesishimwe jamesishimwe changed the title Sprint 3 Brussels | ITP-2026-1 | James Ishimwe | Sprint 3 | Coursework/sprint 3 Apr 28, 2026
}
} else if (numberCards.includes(rank)) return Number(rank);
else if (otherCards.includes(rank)) return 10;
else return "Invalid Card";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should throw an error instead of returning a string (and then update the tests at the bottom)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants